#ifndef LAYER_H
#define LAYER_H

#include <QVector>
#include <QString>

class Layer
{
public:
    Layer(QString name, bool visible, qint32 width, qint32 height);

    void setName(QString value) { m_name = value; }
    void setVisible(bool value) { m_visible = value; }
    QString name() { return m_name; }
    bool visible() { return m_visible; }
    qint32 width() { return m_width; }
    qint32 height() { return m_height; }
    QVector<QVector<int> > *data() { return m_data; }

private:
    QString m_name;
    bool m_visible;
    qint32 m_width, m_height;
    QVector<QVector<int> > *m_data;

    void initialise();
};

#endif // LAYER_H
